﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Bordspil.is - @ViewBag.Title</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        
        <link href='http://fonts.googleapis.com/css?family=Average+Sans|Cantora+One|Milonga|Didact+Gothic|Iceland|Special+Elite|Press+Start+2P' rel='stylesheet' type='text/css'>
        <link href='http://fonts.googleapis.com/css?family=Didact+Gothic' rel='stylesheet' type='text/css'>

        <link href="~/Content/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" />
        <link href="~/Content/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
        <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
        <script src="~/Scripts/jquery.signalR-1.0.1.min.js"></script>
        <script src="~/signalr/hubs"></script>
        <script src="~/Content/bootstrap/js/bootstrap.min.js"></script>
        <script src="~/Scripts/AdalJS.js"></script>
        <link href="~/Content/Site.css" rel="stylesheet" />
        @Scripts.Render("~/bundles/modernizr")
    </head>
    <body>
        <div id="page-wrapper">
        <header>
            <div class="content-wrapper">
                <div class="float-left">
                    <h1 class="site-title"><a href='@Url.Action("Index", "Home")'>
                    <img id ="LogoPic" src='@Url.Content("~/Images/Bordspil-Logo.png")' />
                    </a></h1>

                </div>

                <div id="logged-in">
                    <section id="login">
                        @Html.Partial("_LoginPartial")
                    </section>
                </div>

                <div class="float-right">   
                    <nav>
                        <ul id="menu">
                            <li>@Html.ActionLink("Leikir", "Index", "Home")</li>
                            <li id="Popular"><a href="#newest">Vinsælast</a></li>
                            <li id="Newest"><a href="#popular">Nýjast</a></li>
                            <li>@Html.ActionLink("Stigatafla","Index","Highscore")</li>     
                        </ul>
                    </nav>
                     
                </div>
            </div>
        </header>
        <div id="body">
            @RenderSection("featured", required: false)
            <section>
                @RenderBody()
            </section>
        </div>
        <div id ="chat" class="visible-desktop">
            @Html.Partial("_ChatPartial")
        </div>
       @if (Request.IsAuthenticated) {
        <div id="search-box" class="visible-desktop">
            <input type="text" id="search-text" placeholder="Leita að notenda" />
            <button id="search-bar" class="btn btn-danger">Leita</button>
            <ul class="search-result">
                @* Autt til að sýna að hér koma niðurstöður *@
            </ul>
        </div>
       }
        
       
    </div>
        
        </footer>
        @RenderSection("scripts", required: false)
    </body>
</html>